<template>
  <div>
    姓名:
    <input v-model="username" type="text" />
    <br />
    密码:
    <input v-model="password" type="text" />
    <br />
    来自于:
    <select v-model="from">
      <option value="hb">湖北</option>
      <option value="wu">武汉</option>
      <option value="hk">汉口</option>
    </select>
    <br />
    爱好:
    <br>
    <input v-model="hoddy1" type="checkbox" value="smoke" />抽烟<br />
    <input v-model="hoddy2" type="checkbox" value="drink" />喝酒<br />
    <input v-model="hoddy3" type="checkbox" value="hotHear" />烫头<br />
    性别:
    <input v-model="gender" type="radio" value="male" name="gender"/>男
    <input v-model="gender" type="radio" value="female" name="gender"/>女
    <br>
    自我介绍:
    <br>
    <textarea  v-model="intro" name="" id="" cols="30" rows="10"></textarea>
  </div>
</template>

<script>
export default {
  name: "Homework2App",

  data() {
    return {
      username:'陶表力',
      password:'542b',
      from:'hb',
      hoddy3:'hotHear',
      gender:'male',
      intro:''
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
</style>